package com.yjc.drygoods.order.vo;

import com.yjc.common.to.SkuReductionTo;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 订单项模型
 *
 * @author yjc
 * @create 2022-09-23 22:47
 */
@Data
public class OrderItemVo implements Serializable {
    private Long skuId;
    private Long spuId;
    private Boolean check = true;
    private String title;
    private String image;
    private List<String> skuAttr;
    private BigDecimal price;
    private Integer count;
    private SkuReductionTo skuReduction;
    private BigDecimal promotionAmount;//满减金额和折扣金额和
    /**
     * 该购物项总价，需手动计算
     */
    private BigDecimal totalPrice;
    private Double weight;
}
